load(
    "@nazel//:nazel_build.bzl",
    "nazel_cc_library",
    "nazel_cc_test",
)

package(default_visibility = ["//visibility:public"])

nazel_cc_library(
    name = "filesystem",
    hdrs = ["filesystem.h"],
)

nazel_cc_library(
    name = "failure_signal_handler",
    srcs = ["failure_signal_handler.cc"],
)

nazel_cc_library(
    name = "datetime_util",
    srcs = ["datetime_util.cc"],
    hdrs = ["datetime_util.h"],
)

nazel_cc_test(
    name = "datetime_util_unittest",
    srcs = ["datetime_util_unittest.cc"],
    deps = [
        ":datetime_util",
    ],
)

nazel_cc_library(
    name = "exception_util",
    srcs = [
        "exception_util.cc",
        "exception_util.h",
    ],
    hdrs = ["exception_util.h"],
    deps = [
    ],
)

nazel_cc_test(
    name = "exception_util_unittest",
    srcs = ["exception_util_unittest.cc"],
    deps = [
        ":exception_util",
    ],
)
